package com.dhc.service.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

/**
 * @Author kazu
 * @TableName PROFESSION
 */
@TableName(value ="PROFESSION")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Profession implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 专业编号
     */
    @TableId(value = "PRO_ID")
    private Long proId;

    /**
     * 专业名称
     */
    @TableField(value = "PRO_NAME")
    private String proName;

    /**
     * 学院编号
     */
    @TableField(value = "PRO_ACA_ID")
    private Long proAcaId;

    /**
     * 逻辑删除（1-正常，0-删除）
     */
    @TableField(value = "PRO_DEL_FLAG")
    @TableLogic(value = "1", delval = "0")
    private String proDelFlag;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "MODIFY_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

}